package beans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.RequestScoped;

@ManagedBean
@RequestScoped
public class Init {
    
    @ManagedProperty(value = "#{mainBean}")
    private MainBean mainBean;

    public void setMainBean(MainBean mainBean) {
        this.mainBean = mainBean;
    }

    
    public void load()
    {
        BeanFunctions.montrerDefaultInit(mainBean);           
    }
}
